<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>component-2</title>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
  <h1>component-2</h1>
  <hr>
  <div id="app">
   <adam2 here="china"></adam2>
   <adam2 :here="message"></adam2>
   <adam2 v-bind:here="message"></adam2>
  </div>
  
  <script type="text/javascript">
  
  var app = new Vue({
    el:'#app',
    data:{
      message:'china'
    },
    components:{
      "adam2":{
        template:`<div style="color:red">adam2 is from {{here}}</div>`,
        props:['here']
      }
    }
    
  })
  
  </script>
</body>
</html>